package com.atguigu.gulimall.ware.feign;

import com.atguigu.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.websocket.server.PathParam;
@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("order/order/status/{orderSn}")
    public R getOrderStatus(@PathParam("orderSn") String orderSn);
}
